import React from 'react'
import styles from './loading.less'
import loadingImg from '@/assets/loading.png'

const BeiDuoFen = props => {
  if (!props.bdfData?.resp_data)
    return (
      <div className={styles.loading}>
        <img src={loadingImg} />
      </div>
    )

  return (
    <>
      <p>分值数：{props.bdfData?.resp_data?.score || '-'}</p>
      <p style={{ fontSize: 14 }}>分数值，分数越高 风险越大</p>
    </>
  )
}

export default BeiDuoFen
